package com.yst.webplugin.api;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * class of method parameter
 */
@Data
@Accessors(chain = true)
public class MethodParameter implements Serializable {
    /**
     * name of parameter
     */
    private String name;
    /**
     * description of method parameter
     */
    private String description;
    /**
     * type of method parameter
     */
    private String type;
    /**
     * specific the method parameter is needed
     */
    private Boolean require;
    /**
     * base type
     */
    private Boolean isPrimitive;
    /**
     *Default value
     */
    private Object defaultValue;

}
